package com.villaday.idf.model;

/**
 * Created by tudou on 2018/8/17.
 */

public class UpgradeEntity {

    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"buildVersion":100010,"bundleVersion":"1.0.1","message":"<p>1、修复BUG1<\/p><p>2、修复BUG2<\/p>","type":0,"upgradeable":true,"url":"http://imtt.dd.qq.com/16891/5B17B614DE36C5C18EAF6907BD5CD6D5.apk?fsname=com.villaday.android.appclient_2.0.2_200022.apk&csr=1bbd"}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * buildVersion : 100010
         * bundleVersion : 1.0.1
         * message : <p>1、修复BUG1</p><p>2、修复BUG2</p>
         * type : 0
         * upgradeable : true
         * url : http://imtt.dd.qq.com/16891/5B17B614DE36C5C18EAF6907BD5CD6D5.apk?fsname=com.villaday.android.appclient_2.0.2_200022.apk&csr=1bbd
         */

        private int buildVersion;
        private String bundleVersion;
        private String message;
        private int type;
        private boolean upgradeable;
        private String url;

        public int getBuildVersion() {
            return buildVersion;
        }

        public void setBuildVersion(int buildVersion) {
            this.buildVersion = buildVersion;
        }

        public String getBundleVersion() {
            return bundleVersion;
        }

        public void setBundleVersion(String bundleVersion) {
            this.bundleVersion = bundleVersion;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public boolean isUpgradeable() {
            return upgradeable;
        }

        public void setUpgradeable(boolean upgradeable) {
            this.upgradeable = upgradeable;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
